blktap2: use sys/eventfd.h if it is available
authorIan Campbell <ian.campbell@citrix.com>
Fri, 15 Mar 2013 13:15:43 +0000 (13:15 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 11 Apr 2013 10:09:25 +0000 (11:09 +0100)
commitb073e110e81bc16d17d4d0bcc40f0137685bbf39
treec20e05cfeaca7728a9a80883bd5fcf1951460953
parent1cc48e865b2faa3f8147c15fcec4c24c46b3d63f
blktap2: use sys/eventfd.h if it is available

arm64 only has the eventfd2 system call and using the libc wrapper when
available hides this from us. eventfd() has been in libc since glibc 2.8.

This code is already Linux specific.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/blktap2/drivers/libaio-compat.h
tools/config.h.in
tools/configure
tools/configure.ac